package com.neu.carbon.mes.domain;

import com.neu.common.annotation.Excel;
import com.neu.common.core.domain.BaseEntity;

/**
 * 排产物料信息对象 mes_product_schedule_material
 *
 * @author neuedu
 * @date 2025-02-28
 */
public class MesProductScheduleMaterial extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 物料外键
     */
    @Excel(name = "物料外键")
    private Long materialId;

    /**
     * 计划外键
     */
    @Excel(name = "计划外键")
    private Long scheduleId;

    /**
     * 物料
     */
    @Excel(name = "物料")
    private String material;

    /**
     * 型号
     */
    @Excel(name = "型号")
    private String model;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String specification;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 需求数量
     */
    @Excel(name = "需求数量")
    private Double requireQuantity;

    /**
     * 已用数量
     */
    @Excel(name = "已用数量")
    private Double usageQuantity;

    /**
     * 剩余数量
     */
    @Excel(name = "剩余数量")
    private Double leftQuantity;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long id) {
        this.materialId = id;
    }

    public Long getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Long scheduleId) {
        this.scheduleId = scheduleId;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getRequireQuantity() {
        return requireQuantity;
    }

    public void setRequireQuantity(Double requireQuantity) {
        this.requireQuantity = requireQuantity;
    }

    public Double getUsageQuantity() {
        return usageQuantity;
    }

    public void setUsageQuantity(Double usageQuantity) {
        this.usageQuantity = usageQuantity;
    }

    public Double getLeftQuantity() {
        return leftQuantity;
    }

    public void setLeftQuantity(Double leftQuantity) {
        this.leftQuantity = leftQuantity;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }
}
